package cn.zn.modules.pz.his.entity.vo;

import cn.zn.modules.budget.inter.vo.BudgetSGForFreezsVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 凭证列表
 */
@Data
public class PzListVO implements Serializable {
    /**
     * 主表ID
     */
    private String id;
    /**
     * mongo中的主表ID
     */
    private String mainId;
    private Integer ap;
    private String applyType;
    private String applyCode;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date applyDate;
    private String title;
    private String reason;
    private String agentUsers;
    private String applyDeptName;
    private String applyUserName;
    @JsonFormat(pattern = ".00")
    private Double money;
    private Integer spendingType;
    /**
     * 是否已报销
     */
    private Boolean isExpense;
    /**
     * 是否关联事前
     */
    private Boolean isExistApply;
    /**
     * 是否有借款
     */
    private Boolean isExistLoan;
    /**
     * 是否借款已处理
     */
    private Boolean isLoanDeal;
    /**
     * 是否预约
     */
    private Boolean isAppoint;
    /**
     * 状态
     */
    private Integer state;
    // 双高相关
    /**
     * 冻结的预算
     */
    List<BudgetSGForFreezsVO> sgFreezsList = new ArrayList<>(0);
    /**
     * 颇算项目名称
     */
    List<String> budgetProjects = new ArrayList<>(0);
}
